﻿using Microsoft.AspNetCore.Http;
using RuYiAdmin.Net.Entity.BusinessEntity.SystemManagement;
using RuYiAdmin.Net.Repository.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.Repository.BusinessRepository.SystemManagement.CodeTable
{
    /// <summary>
    /// 码表访问层实现
    /// </summary>
    public class CodeTableRepository : BaseRepository<SysCodeTable>, ICodeTableRepository
    {
        /// <summary>
        /// HttpContext
        /// </summary>
        private readonly IHttpContextAccessor httpContextAccessor;

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="httpContextAccessor"></param>
        public CodeTableRepository(IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
        {
            this.httpContextAccessor = httpContextAccessor;
        }
    }
}
